package com.b2mining.integration.client.txt;

import com.b2mining.integration.beans.MapperException;

public class TXTMapperException extends MapperException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Metodo que aniade un error(child) a la lista de errores(children)
	 * @param s el error 
	 */
	public TXTMapperException(String s){
		error = s;
		MapperException child = new MapperException();
		child.setElement("");
		child.setError(s);
		children.add(child);
	}

	/**
	 * Constructor for DBMapperException.
	 */
	public TXTMapperException() {
		super();
	}
	
}
